package com.qdxwx.data.mapper.user;

import com.qdxwx.models.user.UserToken;
import org.springframework.stereotype.Repository;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface UserTokenMapper {

    UserToken selectByUserId(long userId);

    UserToken selectByToken(String token);

    int insert(UserToken token);

    int update(UserToken token);

    int delete(long userId);
}
